package io.renren.modules.nfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.ehance.MyService;
import io.renren.common.utils.Pages;
import io.renren.common.utils.ResponseModel;
import io.renren.modules.nfy.entity.ProductEntity;
import io.renren.modules.sys.entity.SysUserEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 宁封窑-产品表
 *
 * @author xuewenjun
 * @email xwj@kafukeji.cn
 * @date 2023-05-25 10:37:58
 */
public interface ProductService extends MyService<ProductEntity> {

    Pages<ProductEntity> queryPage(ProductEntity Product);

    List<ProductEntity> listAll(ProductEntity Product);

    void doSave(ProductEntity product);

    void uploadExcel(MultipartFile file, SysUserEntity user) throws Exception;

    String saveImage(MultipartFile file, String xtlx);

    String uploadZip(MultipartFile file, String xtlx);
}

